/* ===== WEATHER LEARNING TOOL - COMPLETE STYLES (KIDS CENTRIC) ===== */

/* ===== MODAL & CONTAINER ===== */
.eight-weather-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-bg);
  background-size: 400% 400%;
  /* animation: eightWeatherGradientShift 15s ease infinite; */
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  overflow-y: auto;
  padding: 20px;
}

.eight-weather-modal.active {
  display: flex;
}

@keyframes eightWeatherGradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.eight-weather-container {
  /* background: linear-gradient(135deg, #FFFBF5 0%, #FFF5FB 50%, #F5FAFF 100%); */
  background: var(--secondary-bg);
  border-radius: 50px;
  padding: 40px 0;
  max-width: 1600px;
  width: 100%;
  max-height: 95vh;
  overflow-y: auto;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.25),
    0 20px 50px rgba(255, 105, 180, 0.2),
    inset 0 2px 5px rgba(255, 255, 255, 0.8);
  animation: eightWeatherSlideUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  /* border: 8px solid; */
  /* border-image: linear-gradient(135deg, #FF69B4, #FFD700, #00D9FF, #9933FF) 1; */
}

@keyframes eightWeatherSlideUp {
  from {
    transform: translateY(100px) scale(0.8);
    opacity: 0;
  }

  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* ===== CLOSE BUTTON ===== */
.eight-weather-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--primary-bg);
  color: #1e1e1e;
  border: none;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  font-size: 3.5rem;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(255, 107, 157, 0.5);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  font-weight: bold;
  border: 4px solid white;
  height: auto;
  width: var(--fs-26-60);
  aspect-ratio: 1 / 1;
  line-height: 1;
  font-size: var(--fs-12-24);
  z-index: 9999;
}

.eight-weather-close-btn:hover {
  transform: scale(1.2) rotate(90deg);
  box-shadow: 0 15px 40px rgba(255, 107, 157, 0.7);
}

/* ===== HEADER ===== */
.eight-weather-header {
  text-align: center;
  margin-bottom: 35px;
  animation: eightWeatherBounceIn 0.8s ease-out;
  margin-top: 30px;
}

@keyframes eightWeatherBounceIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.eight-weather-title {
  font-size: clamp(2.8rem, 7vw, 5rem);
  background: linear-gradient(
    135deg,
    #ff1493 0%,
    #ff8c00 25%,
    #ffd700 50%,
    #00d9ff 75%,
    #9933ff 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
  margin-bottom: 15px;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.1);
  letter-spacing: 3px;
  animation: eightWeatherRainbowText 5s linear infinite;
  background-size: 200% 200%;
}

@keyframes eightWeatherRainbowText {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 200% 50%;
  }
}

.eight-weather-subtitle {
  font-size: clamp(1.3rem, 3vw, 2rem);
  color: #1e1e1e;
  font-weight: 700;
  text-shadow: 1px 1px 3px rgba(123, 104, 238, 0.3);
}

/* ===== SCORE BAR ===== */
.eight-weather-score-bar {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.eight-weather-score-item {
  background: white;
  border-radius: 30px;
  padding: 20px 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  /* border: 4px solid #FFB6D9; */
  transition: all 0.3s ease;
  min-width: 150px;
}

.eight-weather-score-item:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 40px rgba(255, 182, 217, 0.4);
}

.eight-weather-score-item.eight-weather-total {
  background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
  border-color: #ff8c00;
  animation: eightWeatherPulseGlow 2s infinite;
}

@keyframes eightWeatherPulseGlow {
  0%,
  100% {
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
  }

  50% {
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.7);
  }
}

.eight-weather-score-label {
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  color: #666;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.eight-weather-score-value {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--primary-bg);
  font-weight: 900;
  text-shadow: 2px 2px 4px rgba(255, 20, 147, 0.2);
}

.eight-weather-total .eight-weather-score-value {
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* ===== NAVIGATION TABS ===== */
.eight-weather-nav-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.eight-weather-tab-btn {
  background: linear-gradient(135deg, #e8f5ff 0%, #f0e8ff 100%);
  color: #555;
  border: 3px solid #d0d0d0;
  padding: 18px 30px;
  font-size: clamp(1rem, 2vw, 1.3rem);
  border-radius: 35px;
  cursor: pointer;
  font-weight: 800;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 140px;
}

.eight-weather-tab-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 30px rgba(123, 104, 238, 0.3);
}

.eight-weather-tab-btn.active {
  background: var(--primary-bg);
  color: #1e1e1e;
  border-color: var(--primary-bg);
  /* box-shadow: 0 10px 30px rgba(0, 217, 255, 0.5); */
  transform: translateY(-3px) scale(1.08);
}

.eight-weather-tab-text {
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  text-align: center;
}

/* ===== CONTENT SECTIONS ===== */
.eight-weather-content-section {
  display: none;
  animation: eightWeatherFadeSlide 0.5s ease-out;
}

.eight-weather-content-section.active {
  display: block;
}

@keyframes eightWeatherFadeSlide {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.eight-weather-learn-card {
  background: white;
  border-radius: 40px;
  padding: var(--fs-12-24);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  border: 5px solid var(--primary-bg);
}

/* ===== SECTION HEADER ===== */
.eight-weather-section-header {
  text-align: center;
  margin-bottom: 35px;
}

.eight-weather-section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  background: linear-gradient(135deg, #ff1493 0%, #ff8c00 50%, #ffd700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
  margin-bottom: 15px;
}

.eight-weather-section-subtitle {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: #7b68ee;
  font-weight: 700;
}

/* ===== LEARNING CONTENT ===== */
.eight-weather-learning-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.eight-weather-topic-box {
  border-radius: 25px;
  padding: var(--fs-12-24);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 4px solid;
  transition: all 0.3s ease;
}

.eight-weather-topic-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.eight-weather-color-1 {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  border-color: #42a5f5;
}

.eight-weather-color-2 {
  background: linear-gradient(135deg, #fff9c4 0%, #fff59d 100%);
  border-color: #ffeb3b;
}

.eight-weather-color-3 {
  background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
  border-color: #ab47bc;
}

.eight-weather-color-4 {
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  border-color: #66bb6a;
}

.eight-weather-color-5 {
  background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
  border-color: #ffa726;
}

.eight-weather-color-6 {
  background: linear-gradient(135deg, #fce4ec 0%, #f8bbd0 100%);
  border-color: #ec407a;
}

.eight-weather-topic-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: #2d3436;
  margin-bottom: 15px;
  font-weight: 900;
}

.eight-weather-topic-text {
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  color: #2d3436;
  line-height: 1.8;
  margin-bottom: 20px;
}

.eight-weather-image-box {
  text-align: center;
  margin: 20px 0;
}

.eight-weather-topic-image {
  max-width: 100%;
  height: auto;
  max-height: 350px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 5px solid white;
}

/* ===== WEATHER TYPES GRID ===== */
.eight-weather-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.eight-weather-type-card {
  background: white;
  border-radius: 20px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 3px solid transparent;
}

.eight-weather-type-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  border-color: #ff69b4;
}

.eight-weather-type-icon {
  font-size: clamp(3rem, 6vw, 5rem);
  margin-bottom: 15px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}

.eight-weather-sunny-bg {
  background: linear-gradient(135deg, #ffd54f 0%, #ffa726 100%);
}

.eight-weather-rainy-bg {
  background: linear-gradient(135deg, #64b5f6 0%, #42a5f5 100%);
}

.eight-weather-cloudy-bg {
  background: linear-gradient(135deg, #bdbdbd 0%, #9e9e9e 100%);
}

.eight-weather-windy-bg {
  background: linear-gradient(135deg, #81c784 0%, #66bb6a 100%);
}

.eight-weather-snowy-bg {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.eight-weather-type-name {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #2d3436;
  margin-bottom: 10px;
  font-weight: 800;
}

.eight-weather-type-desc {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: #636e72;
  line-height: 1.5;
}

/* ===== SEASONS GRID ===== */
.eight-weather-seasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 25px;
}

.eight-weather-season-card {
  background: white;
  border-radius: 20px;
  padding: var(--fs-12-24);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 3px solid #e0e0e0;
}

.eight-weather-season-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  border-color: #9c27b0;
}

.eight-weather-season-image {
  width: 100%;
  height: 180px;
  object-fit: contain;
  border-radius: 15px;
  margin-bottom: 15px;
  border: 3px solid #ffd700;
}

.eight-weather-season-name {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #ff1493;
  margin-bottom: 10px;
  font-weight: 800;
}

.eight-weather-season-desc {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: #2d3436;
  margin-bottom: 10px;
  line-height: 1.5;
}

.eight-weather-season-clothes,
.eight-weather-season-activity {
  font-size: clamp(0.9rem, 1.8vw, 1.2rem);
  color: #636e72;
  margin-bottom: 8px;
  line-height: 1.5;
}

/* ===== WEATHER ELEMENTS ===== */
.eight-weather-element-item {
  margin-bottom: 30px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 15px;
}

.eight-weather-element-name {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  color: #ff6b9d;
  margin-bottom: 15px;
  font-weight: 800;
}

.eight-weather-element-text {
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  color: #2d3436;
  line-height: 1.7;
  margin-bottom: 15px;
}

/* ===== TEMPERATURE DEMO ===== */
.eight-weather-temp-demo {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.eight-weather-temp-hot,
.eight-weather-temp-cold {
  flex: 1;
  min-width: 150px;
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 900;
  color: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.eight-weather-temp-hot {
  background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
}

.eight-weather-temp-cold {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* ===== RAINDROP GAME ===== */
.eight-weather-game-box {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  border-radius: 20px;
   padding: var(--fs-12-24);
  margin-top: 25px;
  border:none;
  /* border: 4px solid #42a5f5; */
}

.eight-weather-game-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: #1565c0;
  text-align: center;
  margin-bottom: 15px;
  font-weight: 900;
}

.eight-weather-game-score {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #0d47a1;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 800;
}

.eight-weather-game-area {
  position: relative;
  width: 100%;
  height: 450px;
  /* Increased height */
  background: linear-gradient(135deg, #87ceeb 0%, #4fc3f7 100%);
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 20px;
  border: 3px solid #0288d1;
  cursor: crosshair;
}

.eight-weather-box {
  position: absolute;
  bottom: 20px;
  /* Moved up from 10px */
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 60px;
  z-index: 10;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.3));
  pointer-events: none;
}

.eight-weather-raindrops-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.eight-weather-raindrop {
  position: absolute;
  width: var(--fs-12-24);
  /* Increased size */
  height: auto;
  aspect-ratio: 1 / 1;
  /* Increased size */
  background: radial-gradient(circle at 30% 30%, #64b5f6, #1e88e5);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  animation: eightWeatherRaindropFall 4s linear forwards;
  /* Slower fall */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  z-index: 5;
}

@keyframes eightWeatherRaindropFall {
  0% {
    top: -30px;
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    top: 100%;
    opacity: 0.5;
  }
}

.eight-weather-box.eight-weather-catching {
  animation: eightWeatherBoxCatch 0.3s ease;
}

@keyframes eightWeatherBoxCatch {
  0% {
    transform: translateX(-50%) scale(1);
  }

  50% {
    transform: translateX(-50%) scale(1.15);
  }

  100% {
    transform: translateX(-50%) scale(1);
  }
}

.eight-weather-game-btn {
  background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
  color: white;
  border: none;
  padding: 18px 40px;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  border-radius: 30px;
  cursor: pointer;
  font-weight: 800;
  box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
  transition: all 0.3s ease;
  display: block;
  margin: 0 auto;
  text-transform: uppercase;
}

.eight-weather-game-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 35px rgba(76, 175, 80, 0.6);
}

/* ===== CLOUD TYPES ===== */
.eight-weather-cloud-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin-top: 25px;
}

.eight-weather-cloud-type {
  text-align: center;
}

.eight-weather-cloud-diagram {
  background: linear-gradient(135deg, #87ceeb 0%, #b3e5fc 100%);
  border-radius: 15px;
  padding: 30px;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  border: 3px solid #42a5f5;
}

.eight-weather-cloud-shape-fluffy {
  width: 120px;
  height: 60px;
  background: white;
  border-radius: 50%;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.eight-weather-cloud-shape-fluffy::before,
.eight-weather-cloud-shape-fluffy::after {
  content: "";
  position: absolute;
  background: white;
  border-radius: 50%;
}

.eight-weather-cloud-shape-fluffy::before {
  width: 60px;
  height: 60px;
  top: -30px;
  left: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.eight-weather-cloud-shape-fluffy::after {
  width: 70px;
  height: 70px;
  top: -35px;
  right: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.eight-weather-cloud-shape-flat {
  width: 140px;
  height: 30px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.eight-weather-cloud-shape-wispy {
  width: 100px;
  height: 10px;
  background: white;
  border-radius: 5px;
  position: relative;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.eight-weather-cloud-shape-wispy::before,
.eight-weather-cloud-shape-wispy::after {
  content: "";
  position: absolute;
  background: white;
  border-radius: 5px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.eight-weather-cloud-shape-wispy::before {
  width: 60px;
  height: 8px;
  top: -15px;
  left: 20px;
}

.eight-weather-cloud-shape-wispy::after {
  width: 70px;
  height: 8px;
  top: 15px;
  left: 10px;
}

.eight-weather-cloud-label {
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  color: #1565c0;
  font-weight: 800;
  margin-bottom: 10px;
}

.eight-weather-cloud-desc {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: #424242;
  line-height: 1.5;
}

/* ===== RAINBOW DEMO ===== */
.eight-weather-rainbow-demo {
  margin-top: 20px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.eight-weather-rainbow-stripe {
  padding: 15px;
  text-align: center;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  font-weight: 800;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.eight-weather-red {
  background: #ff0000;
}

.eight-weather-orange {
  background: #ff7f00;
}

.eight-weather-yellow {
  background: #ffff00;
  color: #333;
}

.eight-weather-green {
  background: #00ff00;
  color: #333;
}

.eight-weather-blue {
  background: #0000ff;
}

.eight-weather-indigo {
  background: #4b0082;
}

.eight-weather-violet {
  background: #9400d3;
}

/* ===== WEATHER SAFETY ===== */
.eight-weather-safety-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 25px;
}

.eight-weather-safety-card {
  background: white;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 3px solid #e0e0e0;
}

.eight-weather-safety-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  border-color: #f44336;
}

.eight-weather-safety-title {
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  color: #d32f2f;
  margin-bottom: 15px;
  font-weight: 800;
}

.eight-weather-safety-list {
  list-style: none;
  padding: 0;
}

.eight-weather-safety-list li {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: #424242;
  margin-bottom: 10px;
  padding-left: 30px;
  position: relative;
  line-height: 1.6;
}

.eight-weather-safety-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #4caf50;
  font-weight: 900;
  font-size: 1.3em;
}

/* ===== COMPLETE BUTTON ===== */
.eight-weather-complete-btn {
  background: linear-gradient(135deg, #2ecc71 0%, #27ae60 50%, #16a085 100%);
  color: white;
  border: none;
  padding: 20px 50px;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  border-radius: 30px;
  cursor: pointer;
  font-weight: 900;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  margin: 30px auto 0;
  display: block;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.eight-weather-complete-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

/* ===== QUIZ SECTION ===== */
.eight-weather-quiz-progress {
  margin-bottom: 30px;
}

.eight-weather-progress-bar {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  height: 25px;
  overflow: hidden;
}

.eight-weather-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #00b894 0%, #00cec9 100%);
  border-radius: 20px;
  transition: width 0.5s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.eight-weather-quiz-area {
  background: linear-gradient(135deg, #f8f9ff 0%, #e8f4fd 100%);
  border-radius: 25px;
  padding: var(--fs-12-24);
  text-align: center;
}

.eight-weather-quiz-question {
  text-align: center;
  margin-bottom: 40px;
}

.eight-weather-question-text {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #ff6b6b;
  font-weight: 900;
}

.eight-weather-quiz-options {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.eight-weather-quiz-option {
  cursor: pointer;
  transition: all 0.3s ease;
}

.eight-weather-quiz-option:hover {
  transform: translateY(-10px) scale(1.1);
}

.eight-weather-option-content {
  background: white;
  border-radius: 25px;
  padding:1em;
  min-width: 200px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 5px solid #e0e0e0;
  transition: all 0.3s ease;
}

.eight-weather-quiz-option:hover .eight-weather-option-content {
  border-color: #4ecdc4;
  box-shadow: 0 15px 40px rgba(78, 205, 196, 0.3);
}

.eight-weather-option-text {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #2d3436;
}

.eight-weather-quiz-option.eight-weather-correct-answer
  .eight-weather-option-content {
  border-color: #4caf50;
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  animation: eightWeatherCorrectPulse 0.6s;
}

@keyframes eightWeatherCorrectPulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }
}

.eight-weather-quiz-option.eight-weather-wrong-answer
  .eight-weather-option-content {
  animation: eightWeatherWrongShake 0.5s;
}

@keyframes eightWeatherWrongShake {
  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-15px);
  }

  75% {
    transform: translateX(15px);
  }
}

.eight-weather-quiz-feedback {
  text-align: center;
  min-height: 80px;
}

.eight-weather-feedback-correct,
.eight-weather-feedback-wrong {
  display: inline-block;
  padding: 20px 40px;
  border-radius: 25px;
  animation: eightWeatherFeedbackPop 0.5s;
}

@keyframes eightWeatherFeedbackPop {
  0% {
    transform: scale(0);
  }

  50% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}

.eight-weather-feedback-correct {
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  border: 4px solid #4caf50;
}

.eight-weather-feedback-wrong {
  background: linear-gradient(135deg, #fff9e6 0%, #ffefba 100%);
  border: 4px solid #ffd700;
}

.eight-weather-feedback-text {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  color: #2e7d32;
  margin: 0;
}

.eight-weather-feedback-wrong .eight-weather-feedback-text {
  color: #ff8c00;
}

/* ===== CONFETTI ===== */
.eight-weather-confetti-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10002;
  display: none;
}

.eight-weather-confetti-container.active {
  display: block;
}

.eight-weather-confetti {
  position: absolute;
  width: 12px;
  height: 12px;
  animation: eightWeatherConfettiFall 3s linear forwards;
  border-radius: 50%;
}

@keyframes eightWeatherConfettiFall {
  to {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0;
  }
}

/* ===== CUSTOM SCROLLBAR ===== */
.eight-weather-container::-webkit-scrollbar {
  width: 14px;
}

.eight-weather-container::-webkit-scrollbar-track {
  background: linear-gradient(
    135deg,
    rgba(255, 182, 217, 0.3),
    rgba(168, 230, 207, 0.3)
  );
  border-radius: 10px;
}

.eight-weather-container::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #ffb6d9 0%, #ff69b4 100%);
  border-radius: 10px;
  border: 2px solid white;
}

.eight-weather-container::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #ff69b4 0%, #ffb6d9 100%);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .eight-weather-container {
    padding: 30px;
  }

  .eight-weather-quiz-options {
    gap: 30px;
  }

  .eight-weather-types-grid,
  .eight-weather-seasons-grid,
  .eight-weather-cloud-types,
  .eight-weather-safety-grid {
    grid-template-columns: 1fr;
  }

  .eight-weather-temp-demo {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .eight-weather-container {
    padding: 25px;
    border-radius: 35px;
  }

  .eight-weather-nav-tabs {
    flex-direction: column;
    align-items: stretch;
  }

  .eight-weather-tab-btn {
    width: 100%;
    min-width: auto;
  }

  .eight-weather-quiz-options {
    flex-direction: column;
    align-items: center;
  }

  .eight-weather-game-area {
    height: 300px;
  }

  .eight-weather-box {
    width: 30px;
    height: 22.45px;
  }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
